#jx_list({tagcode:"role_menu_module_list",params:(params[0])+","+(params[0])+","+(params[0])+","+(params[0]),ps:"0",name:"role_menu_list"})
#set(strPid="")
#set(strmpid = "")
#for(menulist : role_menu_list)
#if (menulist.flag == '1')
  #if (strPid == menulist.parent_id)
    </li>
    #set(strPid = menulist.parent_id)
    #set(strmpid = "")
  #end
<li class="data" state="0"  style="padding: 6px;
  #if (menulist.I_LEVEL == 1) 
    ">
  #else 
    display: none;text-indent: 2em; padding-left: #(21*((menulist.I_LEVEL)-1)+33*((menulist.I_LEVEL)-2))px; ">  
  #end
  <div class="divtd sm">
    #if (menulist.I_LEVEL != 3)
    <a href="#" style="display: contents;" value="#(menulist.menu_id ??)">
      <span class="icon_plus"></span>
      <span class="icon_file"></span>
    </a>
    #end
    #if (menulist.I_LEVEL == 2)
      <span class="icon_stat">
    #else
      <span class="">
    #end
        <span>
          <input id="#(menulist.menu_id ??)" parentid ="#(menulist.parent_id ??)" chirden="#(menulist.chirden ??)" 
                 select_num="#(menulist.select_num ??)" flag="menu" class="regular-checkbox" type="checkbox" style="display: none;"
            #if (menulist.checked == 1)
              checked="checked"
            #end
            #if (menulist.select_num ==0)
              state=0
            #else if(menulist.chirden == menulist.select_num)
              state=1
            #else
              state=2
            #end
             />
            <label for="#(menulist.menu_id ??)"></label>
              #(menulist.menuname ??)
        </span>
      </span>
    </div>
    #else
      #if (strmpid == "")
      <div class="divtd xl5">
        #set (strmpid = menulist.menu_id)
      #end
        <input  id="#(menulist.menu_id ??)" flag="module" parentid="#(menulist.parent_id ??)"
          name="menu" chirden="0" class="regular-checkbox" style="display: none;" type="checkbox"
          #if (menulist.checked == 1)
            checked="checked" state="1"
          #else
            state="0"
          #end 
        />
        <label for="#(menulist.menu_id ??)"></label>
        #(menulist.menuname ??)
      #end
#end
</li>      